#define VERSION_NUMBER 1
#define PROGRAM_NUMBER 32700011

#define PACKSIZE = 128

struct package {
  int   token;
  char  data[PACKSIZE];
  int   length;
};

program WS_PROG {
  version WS_VERSION {
    int     START_SENDING(void) = 1;
    int     SEND(package)       = 2;
    int     END_SENDING(int)    = 3;
    int     READY_PACK(int)     = 4;
    package RESIVE(int)         = 5;
  } = VERSION_NUMBER;
} = PROGRAM_NUMBER;
